// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsBudgetDao;
import com.liuxinlong.modules.entity.AssetsBudget;
import com.liuxinlong.modules.mapper.AssetsBudgetMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsBudgetDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年10月27日
 */
@Service
public class AssetsBudgetDaoImpl extends ServiceImpl<AssetsBudgetMapper, AssetsBudget> implements AssetsBudgetDao {

    @Override
    public List<AssetsBudget> pageAssetsBudget(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsBudget(queryParam);
    }

    @Override
    public int getAssetsBudgetCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsBudgetCount(queryParam);
    }

    @Override
    public AssetsBudget getAssetsBudgetByNo(String planNo) {
        return baseMapper.getAssetsBudgetByNo(planNo);
    }

    @Override
    public Map<String, Map<String, String>> getAssetsBudgetMapByNo() {
        return baseMapper.getAssetsBudgetMapByNo();
    }

    @Override
    public Map<String, Map<String, String>> getAssetsBudgetMap() {
        return baseMapper.getAssetsBudgetMap();
    }
}
